package com.dzh.mapper;

import com.dzh.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    List<User> queryUser();
    User queryUserById(User user);
    Integer addUser(User user);
    int deleteUser(String username);
    int update(User user);
    int queryUserByName(String username);
}
